
package uk.addie.mp3fixer.visitors;

import java.nio.file.Path;

import org.jaudiotagger.tag.FieldKey;

import uk.addie.mp3fixer.MP3Handle;

public class MakeCompilation extends AbstractVisitor {
    @Override protected String buttonName() {
        return "Make album compilation";
    }

    // @Override public JButton createButton() {
    // super.createButton();
    // mButton.setMnemonic('m');
    // return mButton;
    // }
    @Override protected void modifyMp3(final MP3Handle mp3, final Path path) {
        mp3.setTag(FieldKey.IS_COMPILATION, "1").save();
    }
}
